import Vue from './init'

const root = document.querySelector('#root')

var vue = new Vue({
    data() {
        return {
            name: '蜗牛',
            age: 18,
            like: {
                sports: 'running'
            }
        }
    },

    render() {
        root.innerHTML = `${this.name}今年${this.age}岁`
    }
})